package com.wisdytech.linkdcs.equipLifeCycle.maintain.service;

import java.util.List;

import com.github.pagehelper.PageInfo;
import com.wisdytech.common.bean.Filter;
import com.wisdytech.linkdcs.equipLifeCycle.maintain.model.MTypeItem;
import com.wisdytech.linkdcs.equipLifeCycle.maintain.model.MaintenanceItem;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author chenbin
 * @since 2018-06-10
 */
public interface IMTypeItemService{
	  /**
	  * <p>Description: 保存关联保养项对象</p> 
	  * @return 处理结果对象
	  */
	void addTypeAndItem(String typeId, String itemIds);

	PageInfo<MaintenanceItem> listTypeItemByFilter(String typtCode, Filter filter);

	List<MTypeItem> listTypeItemByPkId(String pkId);

	PageInfo<MaintenanceItem> listTypeItemByTaskId(String taskId, Filter filter);

}
